package com.example.isoftservice.mapper;

import com.example.isoftservice.pojos.InstitutionBigCategory;
import com.example.isoftservice.pojos.InstitutionSmallCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface InstitutionSmallCategoryMapper {

    List<Map<String,Object>> selectSmallCategoryList();

    InstitutionSmallCategory selectSmallCategoryById(Integer institutionSmallCategoryId);

    int insertSmallCategory(InstitutionSmallCategory institutionSmallCategory);

    int deleteSmallCategoryByIds(Integer[] ids);

    int updateSmallCategoryById(InstitutionSmallCategory institutionSmallCategory);
}
